charm.land/lipgloss/v2.Style.getAsColor (method)
24 uses
charm.land/lipgloss/v2 (current package)
borders.go#L415: topBG = s.getAsColor(borderTopBackgroundKey)
borders.go#L416: rightBG = s.getAsColor(borderRightBackgroundKey)
borders.go#L417: bottomBG = s.getAsColor(borderBottomBackgroundKey)
borders.go#L418: leftBG = s.getAsColor(borderLeftBackgroundKey)
borders.go#L425: topFG = s.getAsColor(borderTopForegroundKey)
borders.go#L426: rightFG = s.getAsColor(borderRightForegroundKey)
borders.go#L427: bottomFG = s.getAsColor(borderBottomForegroundKey)
borders.go#L428: leftFG = s.getAsColor(borderLeftForegroundKey)
get.go#L36: return s.getAsColor(underlineColorKey)
get.go#L66: return s.getAsColor(foregroundKey)
get.go#L72: return s.getAsColor(backgroundKey)
get.go#L278: return s.getAsColor(borderTopForegroundKey)
get.go#L284: return s.getAsColor(borderRightForegroundKey)
get.go#L290: return s.getAsColor(borderBottomForegroundKey)
get.go#L296: return s.getAsColor(borderLeftForegroundKey)
get.go#L314: return s.getAsColor(borderTopBackgroundKey)
get.go#L320: return s.getAsColor(borderRightBackgroundKey)
get.go#L326: return s.getAsColor(borderBottomBackgroundKey)
get.go#L332: return s.getAsColor(borderLeftBackgroundKey)
get.go#L524: func (s Style) getAsColor(k propKey) color.Color {
style.go#L287: fg = s.getAsColor(foregroundKey)
style.go#L288: bg = s.getAsColor(backgroundKey)
style.go#L289: ul = s.getAsColor(underlineColorKey)
style.go#L581: bgc := s.getAsColor(marginBackgroundKey)
The pages are generated with Golds v0.8.7. (GOOS=linux GOARCH=amd64)